package com.sales.dao;


import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.comple.erp.pojo.sales.SalesSlip;
import org.springframework.web.bind.annotation.RequestParam;

import java.math.BigDecimal;
import java.util.List;
import java.util.Map;

/**
* @author 舒尚
* @description 针对表【salesslip】的数据库操作Mapper
* @createDate 2025-11-07 10:04:10
* @Entity generator.domain.Salesslip
*/
@Mapper
public interface SalesSlipMapper {

    int deleteByPrimaryKey(String id);

    int insertSelective(SalesSlip record);

    SalesSlip selectByPrimaryKey(String id);

    int updateByPrimaryKeySelective(SalesSlip record);

    List<SalesSlip> selectSlipList(Map<String, Object> params);

    //远程调用
    List<SalesSlip>  getSaleSlipList(String id);

    //远程调用
    List<SalesSlip> getSaleSlip(String id);

    //修改核销金额
    int updateSlipList(Map<String, Object> params);

    //发票使用
    SalesSlip selectByCode(Map<String, Object>  params);
}
